/* eslint-disable no-new */
import Vue from 'vue'
import router from './router'
import Header from './components/header.vue'
import Element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import App from './App.vue'
import Swiper from './components/swiper.vue'
import Product from './components/product.vue'
import Fengkong from './components/fengkong.vue'
import News from './components/news.vue'
import Foot from './components/foot.vue'
import Router from 'vue-router'
import Banner from './components/banner'
import Vueresource from 'vue-resource'
import 'font-awesome/css/font-awesome.css'
import 'bootstrap/dist/css/bootstrap.css'

Vue.component('dp-Header', Header)
Vue.use(Element, { size: 'small' })
Vue.component('dp-Swiper', Swiper)
Vue.component('dp-Product', Product)
Vue.component('dp-Fengkong', Fengkong)
Vue.component('dp-News', News)
Vue.component('dp-Foot', Foot)
Vue.component('dp-Banner', Banner)

Vue.use(Router)
Vue.use(Vueresource)


new Vue({
  el: '#app',
  router,
  render: h => h(App)
})



